<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<hdjs/>
</head>
<body>
	<div class="wrap">
		<div class="menu_list">
			<ul>
				<li><a href="{|U:'index'}" class="action">栏目列表</a></li>
				<li><a href="{|U:'add'}">栏目添加</a></li>
			</ul>
		</div>
		<div class="title-header">栏目列表</div>
		<form action="" method="post">
			<input type="hidden" name="cid" value="{$field.cid}">
			<table class="table1 hd-form">
				<tr>
					<th class="w100">栏目名称</th>
					<td>
						<input type="text" name="cat_name" class="w200" value="{$field.cat_name}">
					</td>
				</tr>
				<tr>
					<th class="w50">顶级</th>
					<td>
						<select name="pid">
							<option value="0">==顶级==</option>
							<list from='$category' name='$c'>
								<option value="{$c.cid}" {$c.selected} {$c.disabled} >{$c._name}</option>
							</list>
						</select>
					</td>
				</tr>
				<tr>
					<th class="w50">是否显示</th>
					<td>
						<label><input type="radio" name="is_show" value="1"  checked="">显示</label>
						<label><input type="radio" name="is_show" value="0">隐藏</label>
					</td>
				</tr>
				<tr>
					<th>栏目关键字</th>
					<td>
						<input type="text" name="cat_key" class="w200" value="{$field.cat_key}">
					</td>
				</tr>
				<tr>
					<th>栏目描述</th>
					<td>
						<input type="text" name="cat_desc" class="w200" value="{$field.cat_desc}">

					</td>
				</tr>
				<tr>
					<th>单位</th>
					<td>
						<input type="text" name="measure_unit" class="w200" value="件" >
					</td>
				</tr>
				<tr>
					<th>价格区间</th>
					<td>
						<input type="text" name="grade" class="w200" value="{$field.grade}">
					</td>
				</tr>
			</table>			
				
			<div class="position-bottom">
				<input type="submit" value="添加" class="hd-success">
			</div>
					
		</form>
		
	</div>
</body>
</html>